import DrugsAdmin from "@/components/DrugsAdmin/DrugsAdmin";
import DrugsAdminWarehouse from "@/components/DrugsAdmin/core/DrugsAdminWarehouse";
import DrugsAdminPrescription from "@/components/DrugsAdmin/core/DrugsAdminPrescription";
import DrugsAdminOrder from "@/components/DrugsAdmin/core/DrugsAdminOrder";
const RouterDrugs={
    path:'/Drugs',
    components:{
        main:DrugsAdmin
    },
    children:[
        {
            path:'/Drugs/',
            components: {
                drugs:DrugsAdminWarehouse
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'仓库管理员个人中心'
            }
        },{
            path:'/Drugs/Warehouse',
            components: {
                drugs:DrugsAdminWarehouse
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'药品管理'
            }
        },
        {
            path:'/Drugs/Prescription',
            components: {
                drugs: DrugsAdminPrescription
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'诊断查看'
            }
        },
        {
            path:'/Drugs/Order',
            components: {
                drugs: DrugsAdminOrder
            },
            meta:{
                isDoctor:true,
                isLogin:true,
                title:'订单管理'
            }
        }
    ]
};
export default RouterDrugs;